<?php

if (!class_exists("BatchClaimHistoryImport")) {
/**
 * BatchClaimHistoryImport
 */
class BatchClaimHistoryImport {
	/**
	 * @access public
	 * @var sstring
	 */
	public $xmlRequest;
}}

if (!class_exists("BatchClaimHistoryImportResponse")) {
/**
 * BatchClaimHistoryImportResponse
 */
class BatchClaimHistoryImportResponse {
	/**
	 * @access public
	 * @var BatchClaimHistoryImportResponseDto
	 */
	public $BatchClaimHistoryImportResult;
}}

if (!class_exists("ResponseDto")) {
/**
 * ResponseDto
 */
class ResponseDto {
	/**
	 * @access public
	 * @var ArrayOfChoice1
	 */
	public $SystemMessages;
}}

if (!class_exists("SystemMessageDto")) {
/**
 * SystemMessageDto
 */
class SystemMessageDto {
	/**
	 * @access public
	 * @var sstring
	 */
	public $Text;
	/**
	 * @access public
	 * @var s1SystemMessageType
	 */
	public $Type;
}}

if (!class_exists("SystemMessageType")) {
/**
 * SystemMessageType
 */
class SystemMessageType {
}}

if (!class_exists("GetBatchClaims")) {
/**
 * GetBatchClaims
 */
class GetBatchClaims {
	/**
	 * @access public
	 * @var GetBatchClaimsRequestDto
	 */
	public $request;
}}

if (!class_exists("GetBatchClaimsRequestDto")) {
/**
 * GetBatchClaimsRequestDto
 */
class GetBatchClaimsRequestDto {
	/**
	 * @access public
	 * @var sboolean
	 */
	public $ExpAll;
	/**
	 * @access public
	 * @var ArrayOfEmployerCredentialDto
	 */
	public $Groups;
	/**
	 * @access public
	 * @var tnsDateType
	 */
	public $DtTyp;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $FrmDt;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $ToDt;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $InclPaid;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $InclUnpaid;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $InclWI;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $InclAddr;
}}

if (!class_exists("EmployerCredentialDto")) {
/**
 * EmployerCredentialDto
 */
class EmployerCredentialDto {
	/**
	 * @access public
	 * @var ArrayOfDivisionCredentialDto
	 */
	public $Divs;
}}

if (!class_exists("DivisionCredentialDto")) {
/**
 * DivisionCredentialDto
 */
class DivisionCredentialDto {
	/**
	 * @access public
	 * @var ArrayOfEmployeeCredentialDto
	 */
	public $Certs;
}}

if (!class_exists("EmployeeCredentialDto")) {
/**
 * EmployeeCredentialDto
 */
class EmployeeCredentialDto {
}}

if (!class_exists("DateType")) {
/**
 * DateType
 */
class DateType {
}}

if (!class_exists("GetBatchClaimsResponse")) {
/**
 * GetBatchClaimsResponse
 */
class GetBatchClaimsResponse {
	/**
	 * @access public
	 * @var GetBatchClaimsResponseDto
	 */
	public $GetBatchClaimsResult;
}}

if (!class_exists("GetBatchClaimsResponseDto")) {
/**
 * GetBatchClaimsResponseDto
 */
class GetBatchClaimsResponseDto extends ResponseDto {
	/**
	 * @access public
	 * @var ArrayOfClaimSpecification
	 */
	public $Claims;
}}

if (!class_exists("ClaimSpecification")) {
/**
 * ClaimSpecification
 */
class ClaimSpecification {
	/**
	 * @access public
	 * @var sint
	 */
	public $Id;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenPolicyNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $TPPolicyNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenDivNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $TPDivNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenCertNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $TPCertNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $CertFN;
	/**
	 * @access public
	 * @var sstring
	 */
	public $CertLN;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $CertBirth;
	/**
	 * @access public
	 * @var Address
	 */
	public $CertAddr;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ClmntFN;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ClmntLN;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $ClmntBirth;
	/**
	 * @access public
	 * @var sshort
	 */
	public $RelCd;
	/**
	 * @access public
	 * @var tnsClaimType
	 */
	public $Typ;
	/**
	 * @access public
	 * @var tnsPayeeType
	 */
	public $PayeeTyp;
	/**
	 * @access public
	 * @var sstring
	 */
	public $SPNM;
	/**
	 * @access public
	 * @var sstring
	 */
	public $SPId;
	/**
	 * @access public
	 * @var Address
	 */
	public $SPAddr;
	/**
	 * @access public
	 * @var ArrayOfProcedureSpecification
	 */
	public $Procedures;
	/**
	 * @access public
	 * @var tnsMaritalStatus
	 */
	public $ClmntMarStat;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $ClmntIsStudent;
	/**
	 * @access public
	 * @var tnsGender
	 */
	public $ClmntSex;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ClmntMI;
	/**
	 * @access public
	 * @var sstring
	 */
	public $CertMI;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenBlockNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $TPBlockNum;
	/**
	 * @access public
	 * @var sstring
	 */
	public $GrpNM;
}}

if (!class_exists("ClaimType")) {
/**
 * ClaimType
 */
class ClaimType {
}}

if (!class_exists("PayeeType")) {
/**
 * PayeeType
 */
class PayeeType {
}}

if (!class_exists("ProcedureSpecification")) {
/**
 * ProcedureSpecification
 */
class ProcedureSpecification {
	/**
	 * @access public
	 * @var sint
	 */
	public $Id;
	/**
	 * @access public
	 * @var sstring
	 */
	public $SrvcCd;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $SrvcDt;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $ProcDt;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ToothCd;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ToothSurf;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $LabChg;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $DispFee;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $BenefitAmt;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $PayableAmt;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $EligibleAmt;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $Deductible;
	/**
	 * @access public
	 * @var sshort
	 */
	public $EligPercent;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $OtherInsPaid;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $HcsaPaid;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $CFPaid;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $CPPaid;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $UnitCntClmed;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $UnitCntPaid;
	/**
	 * @access public
	 * @var sint
	 */
	public $OrgId;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ChqNum;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $PayDt;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $PrntChq;
	/**
	 * @access public
	 * @var sstring
	 */
	public $SrvcType;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $LabChgClmed;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $DispFeeClmed;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ProcGrpCd;
	/**
	 * @access public
	 * @var EftInfo
	 */
	public $Eft;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $OrgPayableAmt;
}}

if (!class_exists("EftInfo")) {
/**
 * EftInfo
 */
class EftInfo {
	/**
	 * @access public
	 * @var sstring
	 */
	public $BankCode;
	/**
	 * @access public
	 * @var sstring
	 */
	public $BranchCode;
	/**
	 * @access public
	 * @var sstring
	 */
	public $Account;
	/**
	 * @access public
	 * @var tnsLanguage
	 */
	public $PayeeLanguage;
	/**
	 * @access public
	 * @var sstring
	 */
	public $FileCreationNumber;
}}

if (!class_exists("Language")) {
/**
 * Language
 */
class Language {
}}

if (!class_exists("MaritalStatus")) {
/**
 * MaritalStatus
 */
class MaritalStatus {
}}

if (!class_exists("Gender")) {
/**
 * Gender
 */
class Gender {
}}

if (!class_exists("GetNumberOfCancelledClaimCheques")) {
/**
 * GetNumberOfCancelledClaimCheques
 */
class GetNumberOfCancelledClaimCheques {
	/**
	 * @access public
	 * @var GetItemByIdListAndDateRequestDto
	 */
	public $request;
}}

if (!class_exists("RequestDto")) {
/**
 * RequestDto
 */
class RequestDto {
	/**
	 * @access public
	 * @var sstring
	 */
	public $AuthTicket;
	/**
	 * @access public
	 * @var sboolean
	 */
	public $ClearCache;
}}

if (!class_exists("GetNumberOfCancelledClaimChequesResponse")) {
/**
 * GetNumberOfCancelledClaimChequesResponse
 */
class GetNumberOfCancelledClaimChequesResponse {
	/**
	 * @access public
	 * @var GetItemResponseDtoOfInt32
	 */
	public $GetNumberOfCancelledClaimChequesResult;
}}

if (!class_exists("GetItemResponseDtoOfInt32")) {
/**
 * GetItemResponseDtoOfInt32
 */
class GetItemResponseDtoOfInt32 extends ResponseDto {
	/**
	 * @access public
	 * @var sint
	 */
	public $Item;
}}

if (!class_exists("GetVoidedPayments")) {
/**
 * GetVoidedPayments
 */
class GetVoidedPayments {
	/**
	 * @access public
	 * @var GetItemByIdListAndDateRequestDto
	 */
	public $request;
}}

if (!class_exists("GetVoidedPaymentsResponse")) {
/**
 * GetVoidedPaymentsResponse
 */
class GetVoidedPaymentsResponse {
	/**
	 * @access public
	 * @var GetItemResponseDtoOfListOfVoidedPaymentDto
	 */
	public $GetVoidedPaymentsResult;
}}

if (!class_exists("GetItemResponseDtoOfListOfVoidedPaymentDto")) {
/**
 * GetItemResponseDtoOfListOfVoidedPaymentDto
 */
class GetItemResponseDtoOfListOfVoidedPaymentDto extends ResponseDto {
	/**
	 * @access public
	 * @var ArrayOfVoidedPaymentDto
	 */
	public $Item;
}}

if (!class_exists("VoidedPaymentDto")) {
/**
 * VoidedPaymentDto
 */
class VoidedPaymentDto {
	/**
	 * @access public
	 * @var sint
	 */
	public $PaymentId;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ReferenceNumber;
	/**
	 * @access public
	 * @var sstring
	 */
	public $PayeeName;
	/**
	 * @access public
	 * @var sdecimal
	 */
	public $Amount;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $DateCreated;
	/**
	 * @access public
	 * @var tnsPayeeType
	 */
	public $PayeeType;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenBlockNumber;
}}

if (!class_exists("GetEmployerCredentials")) {
/**
 * GetEmployerCredentials
 */
class GetEmployerCredentials {
	/**
	 * @access public
	 * @var BatchGroupCredentialRequest
	 */
	public $request;
}}

if (!class_exists("BatchGroupCredentialRequest")) {
/**
 * BatchGroupCredentialRequest
 */
class BatchGroupCredentialRequest {
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenPolicyNumberStart;
	/**
	 * @access public
	 * @var sstring
	 */
	public $AutobenPolicyNumberEnd;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ThirdPartyPolicyNumberStart;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ThirdPartyPolicyNumberEnd;
}}

if (!class_exists("GetEmployerCredentialsResponse")) {
/**
 * GetEmployerCredentialsResponse
 */
class GetEmployerCredentialsResponse {
	/**
	 * @access public
	 * @var BatchGroupCredentialResponse
	 */
	public $GetEmployerCredentialsResult;
}}

if (!class_exists("BatchGroupCredentialResponse")) {
/**
 * BatchGroupCredentialResponse
 */
class BatchGroupCredentialResponse {
	/**
	 * @access public
	 * @var sboolean
	 */
	public $Successful;
	/**
	 * @access public
	 * @var ArrayOfErrorMessage
	 */
	public $ErrorMessages;
	/**
	 * @access public
	 * @var ArrayOfEmployerCredentialDto1
	 */
	public $EmployerInfo;
}}

if (!class_exists("RequestTicket")) {
/**
 * RequestTicket
 */
class RequestTicket {
	/**
	 * @access public
	 * @var sstring
	 */
	public $username;
	/**
	 * @access public
	 * @var sstring
	 */
	public $password;
}}

if (!class_exists("RequestTicketResponse")) {
/**
 * RequestTicketResponse
 */
class RequestTicketResponse {
	/**
	 * @access public
	 * @var sstring
	 */
	public $RequestTicketResult;
}}

if (!class_exists("ErrorMessage")) {
/**
 * ErrorMessage
 */
class ErrorMessage extends SystemMessageDto {
	/**
	 * @access public
	 * @var sint
	 */
	public $Code;
	/**
	 * @access public
	 * @var sstring
	 */
	public $ErrPos;
}}

if (!class_exists("guid")) {
/**
 * guid
 */
class guid {
}}

if (!class_exists("Address")) {
/**
 * Address
 */
class Address {
	/**
	 * @access public
	 * @var sstring
	 */
	public $Addr1;
	/**
	 * @access public
	 * @var sstring
	 */
	public $Addr2;
	/**
	 * @access public
	 * @var sstring
	 */
	public $City;
	/**
	 * @access public
	 * @var sstring
	 */
	public $Prov;
	/**
	 * @access public
	 * @var sstring
	 */
	public $PostCd;
	/**
	 * @access public
	 * @var sstring
	 */
	public $Country;
}}

if (!class_exists("BatchClaimHistoryImportResponseDto")) {
/**
 * BatchClaimHistoryImportResponseDto
 */
class BatchClaimHistoryImportResponseDto extends ResponseDto {
}}

if (!class_exists("GetItemByIdListAndDateRequestDto")) {
/**
 * GetItemByIdListAndDateRequestDto
 */
class GetItemByIdListAndDateRequestDto extends RequestDto {
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $From;
	/**
	 * @access public
	 * @var sdateTime
	 */
	public $To;
	/**
	 * @access public
	 * @var ArrayOfString
	 */
	public $Ids;
}}

if (!class_exists("ClaimsAPIService")) {
/**
 * ClaimsAPIService
 * @author WSDLInterpreter
 */
class ClaimsAPIService extends SoapClient {
	/**
	 * Default class map for wsdl=>php
	 * @access private
	 * @var array
	 */
	private static $classmap = array(
		"BatchClaimHistoryImport" => "BatchClaimHistoryImport",
		"BatchClaimHistoryImportResponse" => "BatchClaimHistoryImportResponse",
		"BatchClaimHistoryImportResponseDto" => "BatchClaimHistoryImportResponseDto",
		"ResponseDto" => "ResponseDto",
		"SystemMessageDto" => "SystemMessageDto",
		"SystemMessageType" => "SystemMessageType",
		"GetBatchClaims" => "GetBatchClaims",
		"GetBatchClaimsRequestDto" => "GetBatchClaimsRequestDto",
		"EmployerCredentialDto" => "EmployerCredentialDto",
		"DivisionCredentialDto" => "DivisionCredentialDto",
		"EmployeeCredentialDto" => "EmployeeCredentialDto",
		"DateType" => "DateType",
		"GetBatchClaimsResponse" => "GetBatchClaimsResponse",
		"GetBatchClaimsResponseDto" => "GetBatchClaimsResponseDto",
		"ClaimSpecification" => "ClaimSpecification",
		"ClaimType" => "ClaimType",
		"PayeeType" => "PayeeType",
		"ProcedureSpecification" => "ProcedureSpecification",
		"EftInfo" => "EftInfo",
		"Language" => "Language",
		"MaritalStatus" => "MaritalStatus",
		"Gender" => "Gender",
		"GetNumberOfCancelledClaimCheques" => "GetNumberOfCancelledClaimCheques",
		"GetItemByIdListAndDateRequestDto" => "GetItemByIdListAndDateRequestDto",
		"RequestDto" => "RequestDto",
		"GetNumberOfCancelledClaimChequesResponse" => "GetNumberOfCancelledClaimChequesResponse",
		"GetItemResponseDtoOfInt32" => "GetItemResponseDtoOfInt32",
		"GetVoidedPayments" => "GetVoidedPayments",
		"GetVoidedPaymentsResponse" => "GetVoidedPaymentsResponse",
		"GetItemResponseDtoOfListOfVoidedPaymentDto" => "GetItemResponseDtoOfListOfVoidedPaymentDto",
		"VoidedPaymentDto" => "VoidedPaymentDto",
		"GetEmployerCredentials" => "GetEmployerCredentials",
		"BatchGroupCredentialRequest" => "BatchGroupCredentialRequest",
		"GetEmployerCredentialsResponse" => "GetEmployerCredentialsResponse",
		"BatchGroupCredentialResponse" => "BatchGroupCredentialResponse",
		"RequestTicket" => "RequestTicket",
		"RequestTicketResponse" => "RequestTicketResponse",
		"ErrorMessage" => "ErrorMessage",
		"guid" => "guid",
		"Address" => "Address",
	);

	/**
	 * Constructor using wsdl location and options array
	 * @param string $wsdl WSDL location for this service
	 * @param array $options Options for the SoapClient
	 */
	public function __construct($wsdl="https://trial-services.adjudicare.net/staging/ClaimsAPIService.asmx?WSDL", $options=array()) {
		foreach(self::$classmap as $wsdlClassName => $phpClassName) {
		    if(!isset($options['classmap'][$wsdlClassName])) {
		        $options['classmap'][$wsdlClassName] = $phpClassName;
		    }
		}
		parent::__construct($wsdl, $options);
	}

	/**
	 * Checks if an argument list matches against a valid argument type list
	 * @param array $arguments The argument list to check
	 * @param array $validParameters A list of valid argument types
	 * @return boolean true if arguments match against validParameters
	 * @throws Exception invalid function signature message
	 */
	public function _checkArguments($arguments, $validParameters) {
		$variables = "";
		foreach ($arguments as $arg) {
		    $type = gettype($arg);
		    if ($type == "object") {
		        $type = get_class($arg);
		    }
		    $variables .= "(".$type.")";
		}
		if (!in_array($variables, $validParameters)) {
		    throw new Exception("Invalid parameter types: ".str_replace(")(", ", ", $variables));
		}
		return true;
	}

	/**
	 * Service Call: BatchClaimHistoryImport
	 * Parameter options:
	 * (BatchClaimHistoryImport) parameters
	 * @param mixed,... See function description for parameter options
	 * @return BatchClaimHistoryImportResponse
	 * @throws Exception invalid function signature message
	 */
	public function BatchClaimHistoryImport($mixed = null) {
		$validParameters = array(
			"(BatchClaimHistoryImport)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("BatchClaimHistoryImport", $args);
	}


	/**
	 * Service Call: GetBatchClaims
	 * Parameter options:
	 * (GetBatchClaims) parameters
	 * @param mixed,... See function description for parameter options
	 * @return GetBatchClaimsResponse
	 * @throws Exception invalid function signature message
	 */
	public function GetBatchClaims($mixed = null) {
		$validParameters = array(
			"(GetBatchClaims)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("GetBatchClaims", $args);
	}


	/**
	 * Service Call: GetNumberOfCancelledClaimCheques
	 * Parameter options:
	 * (GetNumberOfCancelledClaimCheques) parameters
	 * @param mixed,... See function description for parameter options
	 * @return GetNumberOfCancelledClaimChequesResponse
	 * @throws Exception invalid function signature message
	 */
	public function GetNumberOfCancelledClaimCheques($mixed = null) {
		$validParameters = array(
			"(GetNumberOfCancelledClaimCheques)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("GetNumberOfCancelledClaimCheques", $args);
	}


	/**
	 * Service Call: GetVoidedPayments
	 * Parameter options:
	 * (GetVoidedPayments) parameters
	 * @param mixed,... See function description for parameter options
	 * @return GetVoidedPaymentsResponse
	 * @throws Exception invalid function signature message
	 */
	public function GetVoidedPayments($mixed = null) {
		$validParameters = array(
			"(GetVoidedPayments)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("GetVoidedPayments", $args);
	}


	/**
	 * Service Call: GetEmployerCredentials
	 * Parameter options:
	 * (GetEmployerCredentials) parameters
	 * @param mixed,... See function description for parameter options
	 * @return GetEmployerCredentialsResponse
	 * @throws Exception invalid function signature message
	 */
	public function GetEmployerCredentials($mixed = null) {
		$validParameters = array(
			"(GetEmployerCredentials)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("GetEmployerCredentials", $args);
	}


	/**
	 * Service Call: RequestTicket
	 * Parameter options:
	 * (RequestTicket) parameters
	 * @param mixed,... See function description for parameter options
	 * @return RequestTicketResponse
	 * @throws Exception invalid function signature message
	 */
	public function RequestTicket($mixed = null) {
		$validParameters = array(
			"(RequestTicket)",
		);
		$args = func_get_args();
		$this->_checkArguments($args, $validParameters);
		return $this->__soapCall("RequestTicket", $args);
	}


}}

?>